package top.riske.gen3d.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;
import top.riske.gen3d.entity.Account;

public interface AccountService extends IService<Account> {

    /**
     * 登录
     */
    Account login(String username, String password, HttpServletResponse response);

    /**
     * 注册账号，权限：用户
     */
    Account register(String username, String password,HttpServletResponse response);


}
